module.exports = {
  disableEmoji: false,
  format: '{type}{scope}: {emoji}{subject}',
  list: [
    'wip',
    'feat',
    'fix',
    'chore',
    'docs',
    'refactor',
    'style',
    'test',
    'ci',
    'perf',
    'init',
    'revert',
    'release',
  ],
  maxMessageLength: 64,
  minMessageLength: 3,
  questions: [
    'type',
    'scope',
    'subject',
    'body',
    'breaking',
    'issues',
    'lerna',
  ],
  scopes: [],
  types: {
    wip: {
      description: '工作/任务进行中',
      emoji: '🚧',
      value: 'wip',
    },
    feat: {
      description: '一个新功能',
      emoji: '✨',
      value: 'feat',
    },
    fix: {
      description: '故障修复',
      emoji: '🐛',
      value: 'fix',
    },
    chore: {
      description: '构建过程或辅助工具更改',
      emoji: '🚀',
      value: 'chore',
    },
    docs: {
      description: '写/修改文档/注释',
      emoji: '💡',
      value: 'docs',
    },
    refactor: {
      description: '代码重构(既不修复故障也不增加新功能的代码修改)',
      emoji: '♻️',
      value: 'refactor',
    },
    style: {
      description: '仅仅是代码格式/风格的修改',
      emoji: '💄',
      value: 'style',
    },
    test: {
      description: '增加测试',
      emoji: '✅',
      value: 'test',
    },
    ci: {
      description: 'CI 相关的改变',
      emoji: '👷',
      value: 'ci',
    },
    perf: {
      description: '改进性能/优化体验的代码修改',
      emoji: '⚡️',
      value: 'perf',
    },
    init: {
      description: '创世提交(项目搭建完毕,首次提交)',
      emoji: '🎉',
      value: 'init',
    },
    revert: {
      description: '回滚',
      emoji: '⏪',
      value: 'revert',
    },
    release: {
      description: '创建发布提交',
      emoji: '🏹',
      value: 'release',
    },
  },
}
